
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="/wondershare/js/jquery.js"></script> 
<script src="../../fckeditor/fckeditor.js"></script> 
<link href="/wondershare/styles/main.css" rel="stylesheet" type="text/css" />
<link href="/wondershare/styles/general.css" rel="stylesheet" type="text/css" />
<title>产品特点修改页</title>
</head>
<script>
function tab()
{
  $('#tab_info').find("span").mouseover(function()
  {
   $('#tab_info').find("span").removeClass("tab-front");
   $('#tab_info').find("span").addClass("tab-back");
   $(this).removeClass("tab-back");
   $(this).addClass("tab-front");
   var target = $('#' + this.id+'le');
   if (target.size() > 0) 
   {
	$('#tabbody-div').find("table").hide();
	target.show();
   } 
  });
  for(var i=1;i<=8;i++)
  {
  create_FCKedito('feature_intro'+i);
  }
  for(var i=1;i<=8;i++)
  {
  create_FCKedito('more_feature_intro'+i);
  }


	 
	
}

function create_FCKedito(value)
{
 
   var oFCKeditor          = new FCKeditor(value);      //创建FCK对象
   oFCKeditor.Height      = 400;        //设置FCK显示高度
   oFCKeditor.Width      = 850;        //设置FCK显示宽度
   oFCKeditor.BasePath   = "../../fckeditor/";    //指定编辑器路径，要加载fckeditor/editor/fckeditor.html
   oFCKeditor.ReplaceTextarea(); 
}
</script>

<body   onload="tab()">


	

<h1>
<span class="action-span1">
<a href="i#">管理中心</a>
</span>
<span id="search_id" class="action-span1"> - 产品特点修改 </span>
<div style="clear:both"></div>
</h1>



<div id="tabbar-div">
	<p  id="tab_info">
        <span id="feature1-tab" class="tab-front" >产品卡片特点1-2</span><span id="feature3-tab" class="tab-front" >产品卡片特点3-4</span><span id="feature5-tab" class="tab-front" >产品卡片特点5-6</span><span id="feature7-tab" class="tab-front" >产品卡片特点7-8</span></span><span id="more_feature1-tab" class="tab-front" >更多产品卡片特点1-2</span></span><span id="more_feature3-tab" class="tab-front" >更多产品卡片特点3-4</span></span><span id="more_feature5-tab" class="tab-front" >更多产品卡片特点5-6</span><span id="more_feature7-tab" class="tab-front" >更多产品卡片特点7-8</span>	
      </p>
    </div>
<div id="tabbody-div"  style=" width:1100px;" >
      <form  name="theForm" method="post" action="/wondershare/feature.php?action=index" enctype="multipart/form-data" onsubmit="return check_submit();">
       

      

        <!-- 产品卡片特点1 -->

		<{foreach from=$sum_array item=data key=key}> 
		
		<table width="90%" align="center" id="feature<{$key}>-table" <{if $key !=1 }> style="display:none" <{/if}>  >
		<tbody> 
		
		
		
		<tr>
		<td>特点标题<{$key}></td>
		<td>
		<{assign var="key0" value=$key}> 
		<input type="text" size="70"  value="<{$feature[$key0].feature_title}>"  name="feature_title<{$key}>" >
		<input type="hidden"  value="<{$feature[$key0].feature_id}>" name="feature_id_<{$key}>" >
		</td>
		</tr>
		
		<tr>
		<td>特点小图<{$key}></td>
		<td>
		<input type="text" size="70"  value="<{$feature[$key0].feature_pic_min}>"  name="feature_pic_min<{$key}>" >
		</td>
		</tr>
		
		<tr>
		<td>特点大图<{$key}></td>
		<td>
		<input type="text" size="70"  value="<{$feature[$key0].feature_pic_max}>"  name="feature_pic_max<{$key}>" >
		</td>
		</tr>
		
		 <tr>
		 <td>特点描述<{$key}></td>
		 <td>
		 <textarea name="feature_intro<{$key}>" size="50"  /> <{$feature[$key0].feature_intro}> </textarea>
		 </td>
		 </tr>
		 
		 
		 
		 
		 
		 <tr>
		<td>特点标题<{$key+1}></td>
		<td>
		<{assign var="key1" value=$key+1}> 
		<input type="text" size="70"  value="<{$feature[$key1].feature_title}>"  name="feature_title<{$key+1}>" >
		<input type="hidden"  value="<{$feature[$key1].feature_id}>" name="feature_id_<{$key+1}>" >
		</td>
		</tr>
		
		<tr>
		<td>特点小图<{$key+1}></td>
		<td>
		<input type="text" size="70"  value="<{$feature[$key1].feature_pic_min}>"  name="feature_pic_min<{$key+1}>" >
		</td>
		</tr>
		
		<tr>
		<td>特点大图<{$key+1}></td>
		<td>
		<input type="text" size="70"  value="<{$feature[$key1].feature_pic_max}>"  name="feature_pic_max<{$key+1}>" >
		</td>
		</tr>
		
		 <tr>
		 <td>特点描述<{$key+1}></td>
		 <td>
		 <textarea name="feature_intro<{$key+1}>" size="50"  /> <{$feature[$key1].feature_intro}> </textarea>
		 </td>
		 </tr>
		 
		 
		 </tbody>
		 </table>
		<{/foreach}>
		
		
		<!-- 产品卡片特点1 -->

		<{foreach from=$sum_array item=data key=key}> 
		
		<table width="90%" align="center" id="more_feature<{$key}>-table"  style="display:none"   >
		<tbody> 
		
		
		
		<tr>
		<td>特点标题<{$key}></td>
		<td>
		<{assign var="key2" value=$key}> 
		<input type="text" size="70"  value="<{$more_feature[$key2].feature_title}>"  name="more_feature_title<{$key}>" >
		<input type="hidden"  value="<{$more_feature[$key2].feature_id}>" name="more_feature_id_<{$key}>" >
		</td>
		</tr>
		
		<tr>
		<td>特点小图<{$key}></td>
		<td>
		<input type="text" size="70"  value="<{$more_feature[$key2].feature_pic_min}>"  name="more_feature_pic_min<{$key}>" >
		</td>
		</tr>
		
		<tr>
		<td>特点大图<{$key}></td>
		<td>
		<input type="text" size="70"  value="<{$more_feature[$key2].feature_pic_max}>"  name="more_feature_pic_max<{$key}>" >
		</td>
		</tr>
		
		 <tr>
		 <td>特点描述<{$key}></td>
		 <td>
		 <textarea name="more_feature_intro<{$key}>" size="50"  /> <{$more_feature[$key2].feature_intro}> </textarea>
		 </td>
		 </tr>
		 
		 
		 
		 
		 
		 <tr>
		<td>特点标题<{$key+1}></td>
		<td>
		<{assign var="key3" value=$key+1}> 
		<input type="text" size="70"  value="<{$more_feature[$key3].feature_title}>"  name="more_feature_title<{$key+1}>" >
		<input type="hidden"  value="<{$more_feature[$key3].feature_id}>" name="more_feature_id_<{$key+1}>" >
		</td>
		</tr>
		
		<tr>
		<td>特点小图<{$key+1}></td>
		<td>
		<input type="text" size="70"  value="<{$more_feature[$key3].feature_pic_min}>"  name="more_feature_pic_min<{$key+1}>" >
		</td>
		</tr>
		
		<tr>
		<td>特点大图<{$key+1}></td>
		<td>
		<input type="text" size="70"  value="<{$more_feature[$key3].feature_pic_max}>"  name="more_feature_pic_max<{$key+1}>" >
		</td>
		</tr>
		
		 <tr>
		 <td>特点描述<{$key+1}></td>
		 <td>
		 <textarea name="more_feature_intro<{$key+1}>" size="50"  /> <{$more_feature[$key3].feature_intro}> </textarea>
		 </td>
		 </tr>
		 
		 
		 </tbody>
		 </table>
		<{/foreach}>
		
		
		
		

        <div  style="margin-left:380px; margin-top:20px;" id="submit_div">
          <input type="hidden"  name="product_id" value="<{$product_id}>">

          <input type="submit"   class="button" value="修改" name="sub_from">
          <input type="reset" class="button" value=" 重置 ">
        </div>
        <input type="hidden" value="list" name="act" >
      </form>
    </div>
	





</body>
</html>